<template>
    <div class="page">
        <svg
            t="1630659430464"
            class="icon"
            viewBox="0 0 2467 1024"
            version="1.1"
            xmlns="http://www.w3.org/2000/svg"
            p-id="22206"
            width="128"
            height="128"
        >
            <path
                d="M439.13216 1007.22688v-236.7488H0V620.06272L374.24128 16.77312h283.77088v580.46464h118.24128v173.24032H658.01216v236.7488H439.13216z m0-409.98912V378.368c0-59.392 3.0208-120.71936 6.59456-184.51456l-5.49888-0.27648C408.60672 258.19136 381.952 315.392 348.39552 377.5488l-131.9936 216.95488-0.8192 3.0208 223.54944-0.27648zM1499.43296 121.5488l-135.0144 234.28096c6.87104 43.99104 10.4448 95.68256 10.4448 155.0848 0 224.9216-49.48992 338.21696-139.68384 338.21696-45.09696 0-81.38752-27.78112-106.1376-84.69504l-109.1584 189.184C1074.5856 998.43072 1144.43264 1024 1230.2336 1024c252.69248 0 376.43264-210.90304 376.43264-516.12672 0-151.23456-32.7168-291.47136-107.23328-386.33472z m-401.73568 510.35136c-3.85024-35.19488-5.77536-74.51648-5.77536-118.51776-0.27648-230.7072 57.1904-337.38752 142.70464-337.38752 38.77888 0 69.57056 20.0704 92.39552 59.66848l103.936-179.28192C1378.99008 20.62336 1314.9184 0 1236.82816 0 980.55168 0 859.8528 226.304 859.8528 514.2016c0.55296 143.2576 30.5152 273.32608 93.76768 366.26432l144.0768-248.576z m1033.07264 375.33696v-236.7488h-439.13216V620.06272l374.23104-603.2896h283.50464v580.46464h118.23104v173.24032h-118.23104v236.7488h-218.60352z m0-409.98912V378.368c0-59.392 3.29728-120.71936 6.59456-184.51456l-5.49888-0.27648c-31.62112 64.6144-58.5728 121.81504-91.84256 183.9616l-131.9936 216.95488-0.8192 3.0208h223.55968v-0.27648z"
                fill="#FC0100"
                p-id="22207"
            ></path>
        </svg>
        <div><van-button plain type="primary" size="mini" @click="goTo('/login')">回到首页</van-button></div>
    </div>
</template>

<script setup lang="ts">
// 顶层的绑定会被暴露给模板
import { Button as vanButton } from 'vant'
import { useRouter } from 'vue-router'

const router = useRouter()

function goTo(path: string): void {
    router.push(path)
}
</script>

<style lang="scss" scoped>
.page {
    background-color: #fff;
}
.icon {
    margin-top: 2rem;
}
</style>
